package com.mallcai.bigdata.ladon.service.report.impl.handler.support;

import com.mallcai.bigdata.ladon.service.report.impl.ReportQueryParamHolder;

import java.util.Map;

/**
 * @author feixy
 * @version 1.0
 * @date 2019-07-20 17:26
 */
public interface IDynamicSqlRule {

    /**
     * 根据上下文将rule转换成sql片段
     * @param params
     * @return
     */
    String toSql(Map<String, ReportQueryParamHolder> params);
}
